package com.shangyueshang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shangyueshang.model.FixedCost;
import com.shangyueshang.request.FixedCostDTO;
import com.shangyueshang.request.PageReq;
import com.shangyueshang.response.HttpResult;
import com.shangyueshang.response.PageResult;

/**
 * @author: JokeyZheng
 * @email: zhengjingfeng@ruqimobility.com
 * @created: 2022/1/17 17:02
 * @version: v1.0.0
 */
public interface FixedCostService extends IService<FixedCost> {
	
	/**
	 * 分页查询
	 *
	 * @param pageReq
	 * @return
	 */
	PageResult<FixedCost> findPage(PageReq pageReq);
	
	/**
	 * 保存固定成本
	 *
	 * @param fixedCost
	 * @return
	 */
	HttpResult<Void> saveUpdate(FixedCostDTO fixedCost);
}
